[IA64] VTI: Fix two bugs
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Fri, 24 Feb 2006 20:38:26 +0000 (13:38 -0700)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Fri, 24 Feb 2006 20:38:26 +0000 (13:38 -0700)
commit5601b7063f7c3259afcfdadccbe8124d35690c02
treeb6f811cd929c91d2ae193298d31dbe148704c9da
parentbe5f11d829ea61a673c8afce5aeb23b1ca8e2b87
[IA64] VTI: Fix two bugs

1. Vmx_check_pending_irq should not be called in vmx_vcpu_set_eoi,
because vmx_vcpu_increment_iip is called after vmx_vcpu_set_eoi. That
is, the first instruction of guest interrupt handler will be skipped.
2. Remove code segment which was used to send events to VTIdomain, when
dom0 was VTIdomain. This is not needed any more, and will cause
VTIdomain on SMP-HOST complain "Unexpected interrupt ..." .

Signed-off-by: Anthony Xu <anthony.xu@intel.com>
xen/arch/ia64/vmx/vlsapic.c
xen/arch/ia64/vmx/vmx_process.c